<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%-- <%@ taglib prefix="ctl" uri="/WEB-INF/ControlTag.tld" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>--%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>jsp分页</title>
<link href="${pageContext.request.contextPath}/styles/page/page.css" rel="stylesheet" type="text/css" />

</head>
<body>
	<form id="pageForm" action="${pageContext.request.contextPath}/page" method="post">

		<table width='100%' border='0' cellpadding='0' cellspacing='0' class='table_page'>
			<tr>
				<td colspan="4" align="left">
					&nbsp;&nbsp;查询: <input type="text" name="queryName" value="${queryName}"/>
					<input type="submit" value="查询"/>
				</td>
			</tr>
			<tr>
				<th>编号</th>
				<th>标题</th>
				<th>添加时间</th>
				<th>操作</th>
			</tr>
			<c:forEach items="${map.DATA}" var="info">
			<tr>
				<td>${info.code}</td>
				<td>${info.name}</td>
				<td><fmt:formatDate value="${info.createdate}" pattern="yyyy-MM-dd HH:mm:ss"/></td>
				<td>
					<a class='table_page_operate_a'>删除</a>
				</td>
			</tr>
			</c:forEach>
			<tr class='table_page_foot'>
				<td colspan="4">
					<a class='table_page_batch_operate_a' href="#">批量删除</a>
					<ctl:page  href="${pageContext.request.contextPath}/page"
						page="${requestScope.map.PAGE}"
						count="${requestScope.map.countPAGE}"
						size="${requestScope.map.SIZE}"
						tagPageSize="${requestScope.map.tagPageSIZE}"
						logSize="${requestScope.map.pageCountSIZE}"
						countLogSize="${requestScope.map.countSIZE}"
						mapName="map"
						formName="pageForm" />
				</td>
			</tr>
		</table>
	</form>
</body>
</html>